/**
 * Writed by yura and mak
 */

package wz.legend.handlers.trauma;


import java.util.Date;

import wz.legend.ActionState;
import wz.legend.StateContext;
import wz.legend.handlers.info.User;

public class TraumaContext extends StateContext {
    private int count;
    private int type;
    private User user;
    private long nextUpdate;

    public TraumaContext() {
        setState(ActionState.READY);
    }

    public synchronized int getCount() {
        return count;
    }

    public synchronized void setCount(int count) {
        this.count = count;
    }

    public synchronized User getUser() {
        return user;
    }

    public synchronized void setUser(User user) {
        this.user = user;
    }

    public synchronized long getNextUpdate() {
        return nextUpdate;
    }

    public synchronized void setNextUpdate(long nextUpdate) {
        this.nextUpdate = nextUpdate;
    }

    public synchronized int getType() {
        return type;
    }

    public synchronized void setType(int type) {
        this.type = type;
    }
}
